package com.nidu.demo.tenant.dto;

import com.nidu.demo.base.BaseCO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Set;

/**
 * 租户套餐客户端对象
 *
 * @author auto
 */
@Data
@Schema(description = "租户套餐客户端对象")
@EqualsAndHashCode(callSuper = true)
public class TenantPackageCO extends BaseCO {
    /**
     * 主键ID
     */
    @Schema(description = "主键ID", example = "1")
    private Long id;

    /**
     * 租户套餐名称
     */
    @Schema(description = "租户套餐名称", example = "基础套餐")
    private String name;

    /**
     * 菜单ID列表
     */
    @Schema(description = "菜单ID列表")
    private Set<Long> menuIds;

    /**
     * 描述
     */
    private String remark;

    /**
     * 排序号
     */
    @Schema(description = "排序号", example = "0")
    private Integer sortOrder;

    /**
     * 状态
     */
    @Schema(description = "状态(0:禁用,1:启用)", example = "1")
    private Integer status;
}
